feat(Registration): Email verification - #2328
Conversation
❌ 1 blocking issue (1 total)
|
|
Coverage Impact Unable to calculate total coverage change because base branch coverage was not found. Modified Files with Diff Coverage (1)
🤖 Increase coverage with AI coding...🚦 See full report on Qlty Cloud » 🛟 Help
|
breity
left a comment
There was a problem hiding this comment.
Functionality works well. I split some of the verification messages into separate elements to simplify the i18n messages. I also cleaned up the login-home template a little.
One issue: If user clicks the link to re-send the verification email, the countdown to send another verification email starts properly. But if the user refreshes or reloads the login page and then tries to sign again, the link to send another email shows up and the countdown is reset because the component has been reloaded. Kind of an edge case, so not sure if it's worth addressing, as it would add complexity to the code. @Aaron-Detre @hirokiterashima, what do you think?
…y/WISE-Client into email-verification
hirokiterashima
left a comment
There was a problem hiding this comment.
New auth flow changes look good!
I added some more code improvement suggestions inline. Lmk if you have any questions or want to discuss!
@breity - can you please take a look at styling/wording these screens to make the new visuals stand out a bit more?
Highlight that the action is needed with bold text, colors, icons? I'm not sure if users will read the text because they're all the same size:

"Your email has been verified" => "Thank you for verifying your email. Please sign in to access WISE?"

| private googleUserUrl = '/api/google-user/get-user'; | ||
| private checkAuthenticationUrl = '/api/user/check-authentication'; | ||
| private changePasswordUrl = '/api/user/password'; | ||
| private checkVerifiedUrl = '/api/teacher/is-verified'; |
There was a problem hiding this comment.
No longer used, remove?
|
|
||
| isVerified(username: string): Observable<boolean> { | ||
| return this.http.get<boolean>(this.checkVerifiedUrl, { | ||
| params: new HttpParams().set('username', username) | ||
| }); | ||
| } |
There was a problem hiding this comment.
No longer used, remove?

Changes
Test